<nz-card [nzBodyStyle]="{padding: '20px 24px 0px 24px'}" [nzBordered]="bordered">
    <nz-spin [nzSpinning]="loading">
        <div class="g2-card__top">
            <div class="g2-card__avatar">
                <!-- <ng-container *ngTemplateOutlet="tmp;context:{$implicit: avatar}"></ng-container> -->
            </div>
            <div class="g2-card__meta-wrap">
                <div class="g2-card__meta">
                    <span class="g2-card__meta-title" *ngIf="title">
                        <ng-container *ngTemplateOutlet="title"></ng-container>
                    </span>
                    <span class="g2-card__meta-action" *ngIf="action">
                        <ng-container *ngTemplateOutlet="action"></ng-container>
                    </span>
                </div>
                <p *ngIf="total" class="g2-card__total" [innerHTML]="total"></p>
            </div>
        </div>
        <div class="g2-card__desc" [ngStyle]="{'height':_height}">
            <div [ngClass]="contentClass">
                <ng-content></ng-content>
            </div>
        </div>
        <div class="g2-card__footer" *ngIf="footer">
            <ng-container *ngTemplateOutlet="footer"></ng-container>
        </div>
    </nz-spin>
</nz-card>